package com.zlop.sys.query;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import com.nyvi.support.annotation.Query;
import com.nyvi.support.enums.Operate;
import com.zlop.sys.model.SysUserDO;

/**
 * 用户查询Query
 *
 * @author  曾令鹏
 * @since   jdk1.8
 * @version 2018年4月9日 曾令鹏
 */
@Data
@Accessors(chain = true)
@SuppressWarnings("serial")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SysUserQuery extends SysUserDO {

	@Query(operate=Operate.LIKE, suffix = "%")
	public String username;
	
	@Query(operate=Operate.LIKE, suffix = "%")
	public String phone;
}
